package com.bw.common.net

import com.bw.base.constants.ApiConst
import com.bw.common.entity.DictionariesEntity
import com.bw.http.utils.Res
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * Author :
 * Created by lhy on 2025/5/12.
 * Description:
 */
interface BaseApiService {
    @GET(ApiConst.URL_GET_DICTIONARIES)
    suspend fun getDictionaries(@Query("key")key:String):Res<List<DictionariesEntity>>


    @GET(ApiConst.URL_GET_SERIAL)
    suspend fun getSerialNumber(@Query("prefix")prefix:String):Res<String>
}